//
//  OASendApplyClassViewCell.m
//  ERP
//
//  Created by goldeney on 15/3/23.
//  Copyright (c) 2015年 ShangHai Goldeneye Techonology Co.,Ltd. All rights reserved.
//

#import "OASendApplyClassViewCell.h"

@implementation OASendApplyClassViewCell

- (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        // Load the top-level objects from the custom cell XIB.
        NSArray *topLevelObjects = [[NSBundle mainBundle] loadNibNamed:@"OASendApplyClassViewCell" owner:self options:nil];
        // Grab a pointer to the first object (presumably the custom cell, as that's all the XIB should contain).
        UIView *view = [topLevelObjects objectAtIndex:0];
        view.userInteractionEnabled = NO;
        [self.contentView addSubview:view];
        
        //标题控件
        for (id viewItem in self.contentView.subviews) {
            if ([viewItem isKindOfClass:[OASendApplyClassViewCell class]]) {
                OASendApplyClassViewCell *cell = viewItem;
                self.titleLable = cell.titleLable;
            }
        }
    }
    return self;
}

- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
